package com.example.vm.mapper;

import com.example.vm.domain.entity.VideoLike;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface VideoLikeMapper {
    @Insert("insert into video_like (id,user_id, video_id,created_time,updated_time)" +
            "values (#{id},#{userId},#{videoId},#{created_time},#{updated_time})")
    void save(VideoLike videoLike);
}
